<!doctype html>
<html>
<head>
    <title>Brython interactive mode</title>
    <meta charset="UTF-8">
    <meta name=robots content="index, follow">
    <meta name=description content=Brython >
    <meta name=author content="Pierre Quentel">
    <meta name=keywords content="Python, Brython">
    <meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1">
    <link rel="icon" type="image/png" href="../favicon.png" />

    <link rel=stylesheet href="/brython.css">
    <script type="text/javascript" src="/src/brython.js"></script>
    <!-- script type="text/javascript" src="/src/brython_stdlib.js"></script -->

    <script src="/assets/header.brython.js"></script>

    <script type=text/python3>
    import header
    qs_lang, language = header.show()
  </script>
    <style>
    .codearea {
        background-color:#000;
        color:#fff;
        font-family:'Oxygen Mono', Consolas, 'Liberation Mono', 'DejaVu Sans Mono', monospace;
        font-size:14px;
        overflow:auto
    }

    </style>
</head>


<body onload=brython({"debug":1}) ><!-- remove the 1 to leave debug mode -->
    <noscript>Please enable Javascript to view this page correctly</noscript>

    <div id="banner_row">
    <span class="logo"><a href="/index.html">brython</a></span>
    </div>


    <textarea id="code" class="codearea" rows="20" cols="80"></textarea>

    <div id="content"></div>

    <script type="text/python3">
     from interpreter import Interpreter

     # Start an interactive interpreter in textarea with id "code"
     Interpreter("code")
 </script>
    <div>
        Embed:
        <blockquote title="The Console can be embedded in a web page by adding this line">
            <pre>&lt;iframe src="http://brython.info/console.html" width="800" height="400"&gt;&lt;/iframe&gt;</pre>
        </blockquote>
    </div>

</body>

</html>
